const state = {
    isShowComfirmBuy:false,
    isShowSale:false,
}

const mutations = {
    SHOWCOMFIRMBUY(context,flag){
        context.isShowComfirmBuy = flag
    },
    SHOWSALE(context, flag){
        context.isShowSale = flag
    }
}

const actions = {
    showComfirmBuy({commit},flag){
        commit("SHOWCOMFIRMBUY", flag)
    },
    showSale({commit}, flag){
        commit("SHOWSALE", flag)
    }
}

const getters = {}

export default {
    state,
    mutations,
    actions,
    getters
}